package com.boarsoft.boar.gateway.weixin.common.http;

import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;

import com.sun.net.ssl.X509TrustManager;



/**
 *信任任意库
 */
public class TrustAnyTrustManager implements X509TrustManager{
	public X509Certificate[] getAcceptedIssuers() {  
		return new X509Certificate[] {};  
	}

	@Override
	public boolean isClientTrusted(X509Certificate[] paramArrayOfX509Certificate) {
		// TODO Auto-generated method stub
		return true;
	}

	@Override
	public boolean isServerTrusted(X509Certificate[] paramArrayOfX509Certificate) {
		// TODO Auto-generated method stub
		return true;
	}  

}
